package com.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class IndexAction {
	@RequestMapping(value="/login.do",method=RequestMethod.GET)
	public String login(){
		
		return "login.jsp";
	}
	@RequestMapping(value="/login.do",method=RequestMethod.POST)
	public String dologin(){
		
		return "login.jsp";
	}
}
